package com.kzw.service;

import com.kzw.entity.User;

import my.db.QueryHelper;

public class UserService {

	public User valid(String name, String passwd) {
		String sql = "select * from user where name=? and passwd=?";
		return QueryHelper.queryUnique(User.class, sql, name, passwd);
	}
}
